package com.esd.crm.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import com.esd.crm.entity.Filegags;
import com.esd.vo.ReturnResult;

public interface FilegagsService {

	ReturnResult addFile(Filegags filegags, HttpServletRequest request, HttpSession session);
	
	boolean insertSelective(Filegags filegags);

	Filegags moveFileToResourcePathAndSaveFileToDB(String srcFolderPath, String destFolderPath,
			String fileName,  String operatorId);
	
	boolean deleteByPrimaryKey(String id);
	
	boolean deleteBatch(String[] ids);

	Filegags selectByPrimaryKey(String fileId);

	boolean deleteByBusinessId(String id);
	
	List<Filegags> getFileListByBusinessId(String id);
	
}
